"""
@author: chy
@file: 随机数.py
@time: 2023/12/9 14:20
"""
import random

randomnum1 = random.randint(0,1)
print(f"范围在(0-1)之间的随机数为：{randomnum1}")
randomnum2 = random.randint(1,10)
print(f"范围在(1-10)之间的随机数为：{randomnum2}")
randomnum3 = random.randint(1000,2000)
print(f"范围在(1000-2000)之间的随机数为：{randomnum3}")

